Part Number Hot Search : 
1N415 87CC40N 4731A 01M10V A102J LV4904V 1N5733B M2100
Product Description
Full Text Search
 

To Download DIABLO16 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  uncontrolled copy when printed or downloaded. please refer to the 4d systems website for the latest revision of this document DIABLO16 processor embedded graphics processor document date: 13 th august 2013 document revision: 1. 1 d atasheet
DIABLO16 processor contents 1. description ................................ ................................ ................................ ............................. 4 2. features ................................ ................................ ................................ ................................ . 4 3. applications ................................ ................................ ................................ ........................... 5 4. pin summary ................................ ................................ ................................ .......................... 6 5. pin description ................................ ................................ ................................ ....................... 9 display interface ................................ ................................ ................................ ................................ .... 9 5.1. spi interface C memory card ................................ ................................ ................................ ............... 10 5.2. serial ports C ttl level serial ................................ ................................ ................................ ............... 11 5.3. audio interface ................................ ................................ ................................ ................................ ..... 12 5.4. touch screen interface ................................ ................................ ................................ ........................ 12 5.5. gpio - general purpose io ................................ ................................ ................................ ................... 13 5.6. system pins ................................ ................................ ................................ ................................ .......... 13 5.7. alterna te pin funtions - overview ................................ ................................ ................................ ........ 14 spi ................................ ................................ ................................ ................................ ......................... 15 5.9. i 2 c ................................ ................................ ................................ ................................ ....................... 16 5.10. pulse out ................................ ................................ ................................ ................................ ............ 16 5.11. pwm ou t ................................ ................................ ................................ ................................ ............ 17 5.12. pin counter ................................ ................................ ................................ ................................ ........ 17 5.13. quadrature in ................................ ................................ ................................ ................................ ..... 18 5.14. analog inputs ................................ ................................ ................................ ................................ ..... 18 5.15. 6. DIABLO16 architecture ................................ ................................ ................................ ......... 19 flash storage and ram allocation ................................ ................................ ................................ ...... 20 6.1. pmmc loader + internal functions ................................ ................................ ................................ ...... 20 6.2. display driver ................................ ................................ ................................ ................................ ....... 20 6.3. user flash memory banks ................................ ................................ ................................ .................. 20 6.4. ram (both system and user) ................................ ................................ ................................ ............... 21 6.5. 7. 4dgl - software language ................................ ................................ ................................ .... 22 8. in circuit serial programming icsp ................................ ................................ ........................ 22 9. system registers memory map ................................ ................................ ............................. 23 10. memory cards - fat16 format ................................ ................................ ............................ 25 11. hardware tools ................................ ................................ ................................ .................. 25 4d p rogramming cable & adaptor ................................ ................................ ................................ ..... 25 11.1. evaluation display modules ................................ ................................ ................................ ............... 26 11.2. 12. 4d systems - workshop 4 ide ................................ ................................ .............................. 26
DIABLO16 processor workshop 4 C designer environment ................................ ................................ ................................ 27 12.1. workshop 4 C visi environment ................................ ................................ ................................ ......... 27 12.2. workshop 4 C visi genie environment ................................ ................................ .............................. 27 12.3. 13. reference design ................................ ................................ ................................ ................ 28 14. package details ................................ ................................ ................................ ................... 29 15. pcb land pattern ................................ ................................ ................................ ............... 30 16. specifications and ratings ................................ ................................ ................................ ... 31 17. legal notice ................................ ................................ ................................ ........................ 32 18. contact information ................................ ................................ ................................ ............ 32
4d systems DIABLO16 processor ? 201 3 4d systems page 4 of 32 www.4dsystems.com.au DIABLO16 processor 1. d escription the DIABLO16 processor is the latest addition to the 4d systems processor rang e, providing more power, more flash, more ram and more features than the picaso processor. the DIABLO16 processor is a custom embedded 4dgl graphics controller designed to interface with many popular oled and lcd display panels. with its p owerful graphics, text, image, and animation abilities built - in , along with numerous more features makes the DIABLO16 a single chip solution for a wide variety of lcd and oled display solutions . the DIABLO16 offers a simple plug - n - play interface to many 16 - bit 80 - series colour lcd and oled displays , and is designed to work with minimal design effort as all of the data and control signals are provided by the chip to int erface directly to the display. this offers enormous advantage to the designer in develo pment time and cost saving and takes away all of the burden of low level design. the DIABLO16 belongs to 4d sy s tems family of processors powered by a highly optimised soft core virtual engine, eve (extensible virtual engine). eve is a proprietary, high pe rformance virtual processor with an extensive byte - code instruction set optimised to execute compiled 4dgl programs. 4dgl (4d graphics language) was specifically developed from ground up for the eve engine core. it is a high level language which is easy to learn and simple to understand yet powerful enough to tackle many embedded graphics applications. the processor offers a comprehensive set of i/o features and can interface to spi, i2c, serial, digital, and analog devices, and provides a wealth of features such as pwm, quadrature, pulseout and pin counter functions . provision is also made for a dedicated pwm audio output that supports audio wav files and complex sound generation. all of the display buil t - in driver libraries implement and share the same high - level function interface. this allows your gui application to be portable to different display controller types. 4d systems software development ide called workshop 4 is free and there are no licensin g requirements. 2. f eatures ? 6 banks of 32750 bytes of flash memory for user application code and data ? 32kb of sram purely for the user . ? 16 general purpose i/o pins for user interfacing, which include 4 configurable analog inputs. ? the gpio is variously configurable for alternative functions such as: ? 3x i 2 c channels available ? 1x dedicated for sd card and 3x configurable spi channels available ? 1x dedicated and 3x configurable ttl serial comm ports available ? up to 6 gpio can be used as pin counters ? up to 6 gpio for pwm (simple and servo) ? up to 10 gpio for pulse output ? up to 14 gpio can be configured for quadrature encoder inputs ( 2 channel s ) ? fat16 file services. ? dedicated spi interface for sdhc/sd memory card for multimedia storage and data logging purposes (micro - sd with up to 2gb and sdhc memory cards starting from 4gb and above). ? 4 - wire resistive touch panel interface. ? audio support for wave files and complex sound generation with a dedicated 16 - bit pwm audio output. ? 8 x 16 bit timers with 1 millisecond re solution. ? low - cost oled, lcd and tft display graphics user interface solution. ? ideal as a standalone embedded graphics processor or interface to any host controller as a graphics co - processor. ? connect to almost any colour display that supports an 80 - series 16 bit wide cpu interface. all data and control signals are provided. ? rohs compliant. ? available in a 64 pin tqfp 10mm x 10mm package.
4d systems DIABLO16 processor ? 2013 4d systems page 5 of 32 www.4dsystems.com.au DIABLO16 processor 3. applications ? general purposes embedded graphics. ? elevator control systems. ? point of sale terminals. ? electronic gauges and metres. ? test and measurement and general purpose instrumentation. ? industrial control and robotics. ? automotive system displays. ? gps navigation systems. ? medical instruments and applications. ? home appliances and smart home automation. ? security and access control systems. ? gaming equipment. ? aviation systems. ? hmi with touch panels.
4d systems DIABLO16 processor ? 201 3 4d systems page 6 of 32 www.4dsystems.com.au DIABLO16 processor 4. pin summary DIABLO16 processor pin out pin symbol i/o description 1 audio o pulse width modulated (pwm) audio output. connect this pin to a 2 stage low pass filter then into an audio amplifier. 2 xr a 4 - wire resistive touch screen right signal. connect this pin to xr or x+ signal of the touch panel. 3 yu a 4 - wire resistive touch screen up signal. connect this pin to yu or y+ signal of the touch panel. 4 sd - sck o spi serial clock output. sd memory card use only. connect this pin to the spi serial clock (sck) signal of the memory card. 5 sd - sdi i spi serial data input. sd memory card use only. connect this pin to the spi serial data out (sdo) signal of the memory card. 6 sd - sdo o spi serial data output. sd memory card use only. connect this pin to the spi serial data in (sdi) signal of the memory card. 7 reset i master reset signal. connect a 4.7k pull - up resistor from this pin to vcc. active low 8 sd - cs o sd memory - card chip select. sd memory card use only. connect this pin to the chip enable (cs) signal of the memory card. 19 avcc p analog positive supply. option 1: connect to vcc via a 12 ohm resistor, and with a 4.7uf capacitor to a gnd option 2: connect to vcc via an inductor with has a resistance of less than 1ohm, and a capacity greater than 10ma, and a 4.7uf capacitor to agnd. this option provides the best adc noise rejection. 20 agnd p a nalog ground. connect this to gnd . 9, 25, 34, 41 gnd p device ground. 10, 26 , 38, 57 vcc p device positive supply. i = input, o = output, p = power , a = analogue
4d systems DIABLO16 processor ? 2013 4d systems page 7 of 32 www.4dsystems.com.au DIABLO16 processor i = input, o = output, p = power , a = analogue DIABLO16 processor pin out (continued) pin symbol i/o description 11 d5 i/o display data bus bit 5. 12 d4 i/o display data bus bit 4. 13 d3 i/o display data bus bit 3. 14 d2 i/o display data bus bit 2. 15 d1 i/o display data bus bit 1. 16 d0 i/o display data bus bit 0. 17 d6 i/o display data bus bit 6. 18 d7 i/o display data bus bit 7. 21 d8 i/o display data bus bit 8. 22 d9 i/o display data bus bit 9. 23 d10 i/o display data bus bit 10. 24 d11 i/o display data bus bit 11. 27 d12 i/o display data bus bit 12. 28 d13 i/o display data bus bit 13. 29 d14 i/o display data bus bit 14. 30 d15 i/o display data bus bit 15. 31 pa12 i general purpose input only pin . this pin is 5.0v tolerant. 32 pa13 i general purpose input only pin . this pin is 5.0v tolerant. 33 tx0 o dedicated asynchronous serial port transmit pin, tx. connect this pin to host micro controller serial receive (rx) signal. the host receives data from daiblo16 via this pin. this pin is 5.0v tolerant. processor programming pin. 36 pa1 5 i/o general purpose i/o. this pin is 5.0v tolerant. 37 pa1 4 i/o general purpose i/o. this pin is 5.0v tolerant. 39 clk1 i device clock input 1 of a 12mhz crystal. 40 clk2 o device clock input 2 of a 12mhz crystal. 42 rx0 i asynchronous serial port receive pin, rx. connect this pin to host micro controller serial transmit (tx) signal. the host transmits data to DIABLO16 via this pin. this pin is 5.0v tolerant. processor programming pin. 43 pa10 i/o general purpose i/o. this pin is 5.0v tolerant. 44 pa11 i/o general purpose i/o. this pin is 5.0v tolerant. 45 aud io enb o audio enable. connect this pin to amplifier control. low: disable external audio amplifier. high : enable external audio amplifier. 46 pa4 i/ o general purpose i/o. this pin is 5.0v tolerant. 47 xl o 4 wire resistive touch screen left signal. connect this pin to xl or x signal of the touch panel. 48 yd o 4 wire resistive touch screen bottom signal. connect this pin to yd or y signal of the touch panel. 49 pa5 i/ o general purpose i/o. this pin is 5.0v tolerant. 50 pa6 i/o general purpose i/o. this pin is 5.0v tolerant. 51 pa7 i/o general purpose i/o. this pin is 5.0v tolerant. 52 pa8 i/o general purpose i/o. this pin is 5.0v tolerant. 53 pa9 i/o general purpose i/o. this pin is 5.0v tolerant.
4d systems DIABLO16 processor ? 2013 4d systems page 8 of 32 www.4dsystems.com.au DIABLO16 processor i = input, o = output, p = power, a = analogue note: please refer to section 5 for more information about these pins. DIABLO16 processor pin out (continued) pin symbol i/o description 54 res o 55 rs o display register select. low: display index or status register is selected. high: display gram or register data is selected. connect this pin to the register select (rs or a0 or c/d or similar naming convention) signal of the display. 56 ref p internal voltage regulator filter capacitor pin . connect a 4.7uf to 10uf capacitor from this pin to ground. position capaci tor as close as possible. 58 wr o display write strobe signal. DIABLO16 asserts this signal low when writing data to the display. connect this pin to the write (wr) signal of the display. 59 rd o display read strobe signal. DIABLO16 asserts this signal low when reading data from the display. connect this pin to the read (rd) signal of the display. 60 dcenb o dc dc high voltage enable signal. this maybe the high voltage that drives the lcd backlight or the oled panel supply. high: en able dc dc converter. low : disable dc dc converter. 61 pa0 i/o/a general purpose i/o pin with analog capability. this pin is 5.0v tolerant when used as a digital, with a range of 0 3.3v when used as an analog input 62 pa1 i/o/a general purpose i/o pin with analog capability. this pin is 5.0v tolerant when used as a digital, with a range of 0 3.3v when used as an analog input 63 pa2 i/o/a general purpose i/o pin with analog capability. this pin is 5.0v tolerant when used as a digital, with a range of 0 3.3v when used as an analog input 64 pa3 i/o/a general purpose i/o pin with analog capability. this pin is 5.0v tolerant when used as a digital, with a range of 0 3.3v when used as an analog input
4d systems DIABLO16 processor ? 201 3 4d systems page 9 of 32 www.4dsystems.com.au DIABLO16 processor 5. pin description the DIABLO16 processor provides both a hardware and a software interface. this section describes in detail the hardware interface pins of the device. display interface 5.1. the DIABLO16 supports lcd and oled displays with an 80 - series 16 - bit wide cpu data interface. the connectivity to the display is easy and straight forward. the DIABLO16 generates all of the necessary timing to drive the display. cs rs rd wr operation 0 0 0 1 read display status register 0 0 1 0 write display index register 0 1 0 1 read display gram data 0 1 1 0 write register or gram data 1 x x x no operation display operation table d0 - d15 pins (display data bus): the display data bus (d0 - d15) is a 16 - bit bidirectional port and all display data writes and reads occur over this bus. other control signals such as rw, rd cs, and rs synchronise the data transfer to and from the display. cs pin (display chip select): the access t o the display is only possible when the display chip select (cs) is asserted low. connect this pin to the chip select (cs) signal of the display. rs pin (display register select): the rs signal determines whether a register command or data is sent to the display. low : display index or status register is selected. high : display gram or register data is selected. connect this pin to the register select (rs) signal of the display. different displays utilise various n aming conventions such as rs, a0, c/d or similar. be sure to check with your display manufacturer for the correct name and function. res pin (display reset): display reset. DIABLO16 initialises the display by strobing this pin low. connect this pin to the reset (res) signal of the display. d cenb pin (external dc/dc enable): dc - dc high voltage enable signal. this pin may drive the circuit which enables the high voltage that drives the lcd backlight or the oled panel supply. wr pin (display write): this is the display write strobe signal. the DIABLO16 asserts this signal low when writing data to the display in conjunction with the display data bus (d0 - d15). connect this pin to the write (wr) signal of the display. item sym min typ max unit write low pulse twl 50 - - ns write high pulse twh 50 - - ns write bus cycle total twt 100 - - ns write data setup tds 25 - - ns rd pin (display read): this is the display read strobe signal. the DIABLO16 asserts this signal low when reading data from the display in conjunction with the display data bus (d0 - d15). connect this pin to the read (rd) signal of the display.
4d systems DIABLO16 processor ? 2013 4d systems page 10 of 32 www.4dsystems.com.au DIABLO16 processor item sym min typ max unit read low pulse trl 150 - - ns read high pulse trh 150 - - ns read bus cycle total trt 300 - - ns read data hold tdh 75 - - ns spi interface C memory card 5.2. the DIABLO16 supports sd, micro - sd and mmc memory cards via its dedicated hardware spi interface. the DIABLO16 has 4 spi channels, and the first is dedicated for this. the memory card is used for all multimedia file retrieval such as images, animations and movie clips and the spi interface is dedicated for this purpose only. the memory card can also be used as general purpose storage for data logging applications (raw and fat16 format support). support is available for micro - sd with up to 2gb capacity and for high capacity hc memory cards starting from 4gb and above. sdi pin (spi serial data in): th e spi serial data input (sdi). sd memory card use only. connect this pin to the spi serial data out (sdo) signal of the memory card. sdo pin (spi serial data out): the spi serial data output (sdi). sd memory card use only. connect this pin to the spi serial data in (sdi) signal of the memory card. sck pin (spi serial clock): the spi serial clock output (sck). sd memory card use only. connect this pin to the spi serial clock (sck) signal of the memory card. sdcs pin (sd memory card chip select): sd memory - card chip select (sdcs). sd memory card use only. connect this pin to the chip enable (cs) signal of the memory card.
4d systems DIABLO16 processor ? 2013 4d systems page 11 of 32 www.4dsystems.com.au DIABLO16 processor serial ports C ttl level serial 5.3. the DIABLO16 processor has three hardware a synchronous s erial ports that can be configured on a variety of the processors gpio pins. tx/rx0 is dedicated and is fixed on to pins 33 (tx0) and 43 (rx0). all of the DIABLO16s serial ports can be used to communicat e with external serial devices. tx/rx0 are referred to as com0, and is th e only one used for programming the DIABLO16 itself. the primary features are: ? full - duplex 8 bit data transmission and reception. ? data format: 8 bits, no parity, 1 stop bit. ? independent baud rates from 300 baud up to 600 k baud. ? single byte transmits and r eceives or a fully buffered service. the buffered service feature runs in the background capturing and buffering serial data without the user application having to constantly poll any of the serial ports. this frees up the application to service other task s. a single byte serial transmission consists of the start bit, 8 - bits of data followed by the stop bit. the start bit is always 0, while a stop bit is always 1. the lsb (least significant bit, bit 0) is sent out first following the start bit. figure below shows a single byte transmission timing diagram. com0 is also the primary interface for 4dgl user program downloads and chip configuration pmmc programming. once the compiled 4dgl application program (eve byte - code) is downloaded and the user cod e starts executing, the serial port is then available to the user application. refer to section 7 . in - circuit - serial - programming (icsp ) for more details on pmmc /firmware programming. tx0 pin (serial transmit com0): dedicated asynchronous serial port com0 transmit pin, tx0. connect this pin to external serial device receive (rx) signal. this pin is 5.0v tolerant. rx0 pin (serial receive com0): dedicated asynchronous serial port com0 receive pin, rx0. connect this pin to external serial device transmit (tx) signal. this pin is 5.0v tolerant. tx1 pin (serial transmit com1): asynchronous serial port com1 transmit pin, tx1. connect this pin to external serial device receive (rx) signal. this pin is 5.0v tolerant. this can be configured to 1 of the gpio pins, s ee table below. rx1 pin (serial receive com1): asynchronous serial port com1 receive pin, rx1. connect this pin to external serial device transmit (tx) signal. this pin is 5.0v tolerant. this can be configured to 1 of the gpio pins, see table below. tx 2 pin (serial transmit com 2 ): asynchronous serial port com1 transmit pin, tx 2 . connect this pin to external serial device receive (rx) signal. this pin is 5.0v tolerant. this can be configured to 1 of the gpio pins, see table below. rx 2 pin (serial receive com 2 ): asynchronous serial port com1 receive pin, rx 2 . connect this pin to external serial device transmit (tx) signal. this pin is 5.0v tolerant. this can be configured to 1 of the gpio pins, see table below. tx 3 pin (serial transmit com 3 ): asynchronous serial port com1 transmit pin, tx 3 . connect this pin to external serial device receive (rx) signal. this pin is 5.0v tolerant. this can be configured to 1 of the gpio pins, see table below. rx 3 pin (serial receive com 3 ): asynchronous serial port com1 receive pin, rx 3 . connect this pin to external serial device transmit (tx) signal. this pin is 5.0v tolerant. this can be configured to 1 of the gpio pins, see table below.
4d systems DIABLO16 processor ? 2013 4d systems page 12 of 32 www.4dsystems.com.au DIABLO16 processor DIABLO16 serial ttl comm port configuration options tx1 rx1 tx2 rx2 tx3 rx3 pa0 ? ? ? pa1 ? ? ? ? ? ? ? ? ? pa2 ? ? ? pa3 ? ? ? ? ? ? pa4 ? ? ? ? ? ? pa5 ? ? ? ? ? ? pa6 ? ? ? ? ? ? pa7 ? ? ? ? ? ? pa8 ? ? ? ? ? ? pa9 ? ? ? ? ? ? pa10 ? ? ? pa11 ? ? ? pa12 ? ? ? ? ? ? pa13 ? ? ? ? ? ? pa14 pa15 please refer to the ' DIABLO16 - 4dgl - internal - functions.pdf ' document for information on how to set the DIABLO16 pin mappings . a udio interface 5.4. the audio support in the DIABLO16 processor makes it better than its peers in the graphics processor range. pwm ensures better sound quality with a volume range of 8 to 127. a simple instruction empowers the user to execute the audio files. audio operation can be carried out simultaneousl y with the execution of other necessary instructions. for a complete list of audio commands please refer to the separate document titled ' DIABLO16 - 4dgl - internal - functions.pdf '. audio pin (audio pwm output): external amplifier output pin. this pin provides a 16 - bit dac/pwm audio output to use with an external audio amplifier. if unused then this pin must be left open or floating. audenb pin (audio enable output): external amplifier enable pin. this pin provides on/off amplifier control. if unused then this pin must be left open or floating. low : disable external audio amplifier. high : enable external audio amplifier. touch screen interface 5.5. the DIABLO16 supports 4 - wire resistive touch panels. the diagram below shows a simplified interface between the DIABLO16 and a touch panel. xr pin (touch panel x - read input): 4 - wire resistive touch screen x - read analog signal. connect this pin to xr or x+ signal o f the touch panel. xl pin (touch panel x - drive output): 4 - wire resistive touch screen x drive signal. connect this pin to xl or x - signal of the touch panel. yu pin (touch panel y - read input): 4 - wire resistive touch screen y - read analog signal. connect t his pin to yu or y+ signal of the touch panel. yd pin (touch panel y - drive output): 4 - wire resistive touch screen y drive signal. connect this pin to yd or y - signal of the touch panel.
4d systems DIABLO16 processor ? 2013 4d systems page 13 of 32 www.4dsystems.com.au DIABLO16 processor gpio - general purpose io 5.6. there are 1 6 general purpose input/output (gpio) pins available to the user. these provide flexibility of individual bit operations along with serving collec tively for byte wise operations using the bus functions DIABLO16 alternate pin configurations general purpose i/o digital input digital output bus read bus write analog read pa0 ? ? ? ? ? pa1 ? ? ? ? ? pa2 ? ? ? ? ? pa3 ? ? ? ? ? pa4 ? ? ? ? pa5 ? ? ? ? pa6 ? ? ? ? pa7 ? ? ? ? pa8 ? ? ? ? pa9 ? ? ? ? pa10 ? ? ? ? pa11 ? ? ? ? pa12 ? ? ? ? pa13 ? ? ? ? pa14 ? ? pa15 ? ? DIABLO16 - 4dgl - internal - functions.pdf ' for more information. pa0 - pa3: general purpose i/o pins , or can serve as analog input pins . each pin can be individually set for input or output or analog . power - up reset default is all inputs. when set as digital inputs, the pins are 5v tolerant . digital gpio c an source/sink 10ma . for more information see chapter 1 6, specifications and ratings . when set as analog inputs, the pins have a 0 to 3.3v range , and have 12 bit resolution . for more information, see section 5.15 analog inputs. pa4 - pa13: general purpose i/o pins . each pin can be individually set for input or output . power - up reset default is all inputs. when set as digital inputs, the pins are 5v tolerant . digital gpio c an source/sink 10ma. for more information see chapter 16, specifications and ratings. pa14 - pa15 : input o nly pins. these pins can only be digital inputs. note: all gpio pins are 5.0v tolerant. system pins 5.7. vcc pins (device supply voltage): device supply voltage pins. these pins must be connected to a regulated supply voltage in the range of 3.0 volts to 3.6 volts dc. nominal operating voltage is 3.3 volts. gnd pins (device ground): device ground pins. these pins must be connected to system ground. clk1, clk2 pins (device oscillator inputs): clk1 and clk2 are the device oscillator pins. connect a 12mhz at strip cut crystal with 22pf capacitors from each pin to gnd as shown in the diagram below. avcc pin (analog supply voltage): this is the analog supply voltage pin. option 1: this pin should be connected to vcc via a 12 ohm resistor, and also have a 4.7uf capacitor to a gnd . option 2: connect to vcc via an inductor with has a resistance of less than 1ohm and a capacity greater than 10ma, along with a 4.7uf capacitor to agnd. thi s option provides the best adc noise rejection. this is not an analog reference. agnd pin (analog ground): this is the analog ground pin. this pin should be connected directly to gnd
4d systems DIABLO16 processor ? 2013 4d systems page 14 of 32 www.4dsystems.com.au DIABLO16 processor reset pin (device master reset): device master reset pin. an active low pulse of greater than 2 micro - seconds will reset the device. connect a resistor (1k to 10k, nominal 4.7k) from this pin to vcc. only use open collector type circuits to reset the device if an external reset is require d. this pin is not driven low by any internal conditions. altern ate pin funtions - overview most of the gpio pins have an alternate function other than being for general purpose i/o. gpio pins can be configured to be spi, i 2 c, serial or a range of other functions. note: not all pins however can be configured to be any of the alternate pin functions. please refer to the following tables which illustrate which pins can be associated alternative functions. the following table illustrates which of the gpio can be used for the four different i/o support functions. note: o nce a pin is allocated to an alternate function, another pin cannot also be allocated to the same alternate function . please refer to the separate document titled ' DIABLO16 - 4dgl - internal - functions.pdf ' for more information on how to set the alternate pin configurations. the alternate pin functions have been broken up into a few tables for simplification . there are communication based functions, and i/o support based functions. further information is available in the next sections for each of the alternative pin functions. note: quadrature in requires 2 pins the following table illustrates which of the gpio can be used for the three different spi channels available. DIABLO16 alternate pin configurations spi communications spi1 sdo s pi1 sdi spi1 sck spi2 sdo spi2 sdi spi2 sck spi 3 sdo spi 3 sdi spi 3 sck pa0 ? ? ? pa1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? pa2 ? ? ? pa3 ? ? ? ? ? ? ? ? ? pa4 ? ? ? ? ? ? ? ? ? pa5 ? ? ? ? ? ? ? ? ? pa6 ? ? ? ? ? ? ? ? ? pa7 ? ? ? ? ? ? ? ? ? pa8 ? ? ? ? ? ? ? ? ? pa9 ? ? ? ? ? ? ? ? ? pa10 ? ? ? pa11 ? ? ? pa12 ? ? ? ? ? ? ? ? ? pa13 ? ? ? ? ? ? ? ? ? pa14 pa15 DIABLO16 alternate pin configurations i/o support functions pulse out pwm out pin counter quadrature in pa0 ? ? pa1 ? ? pa2 ? ? pa3 ? ? pa4 ? ? ? ? pa5 ? ? ? ? pa6 ? ? ? ? pa7 ? ? ? ? pa8 ? ? ? ? pa9 ? ? ? ? pa10 ? pa11 ? pa12 ? pa13 ? pa14 pa15
4d systems DIABLO16 processor ? 2013 4d systems page 15 of 32 www.4dsystems.com.au DIABLO16 processor the following table illustrates which of the gpio can be used for the three different i 2 c channels available. DIABLO16 alternate pin configurations i 2 c communications i 2 c1 sda i 2 c1 scl i 2 c2 sda i 2 c2 scl i 2 c3 sda i 2 c3 scl pa0 ? ? ? ? ? ? pa1 ? ? ? ? ? ? pa2 ? ? ? ? ? ? pa3 ? ? ? ? ? ? pa4 ? ? ? ? ? ? pa5 ? ? ? ? ? ? pa6 ? ? ? ? ? ? pa7 ? ? ? ? ? ? pa8 ? ? ? ? ? ? pa9 ? ? ? ? ? ? pa10 ? ? ? ? ? ? pa11 ? ? ? ? ? ? pa12 ? ? ? ? ? ? pa13 ? ? ? ? ? ? pa14 pa15 spi 5.9. there are 3 user configurable spi channels available for mapping to gpio, for use by the user for the target application. all 3 spi channels are master only, and cannot be configured to be slaves at this time. the spi bus speed is configurable using the spix_init() function in 4dgl, and allows various speeds from 78.125khz to 17.5mhz. please refer to the table on the previous page for details on which gpio can be configured for spi. note: the additional spi channel (spi0) is dedicated to memory cards and cannot be reconfigured for alternat e uses . to map an spi channel to a set of gpio pins, the following 4dgl functions are used: spix_sck_pin(pin); // map the sck pin spix_sdi_pin(pin); // map the sdi pin spix_sdo_pin(pin); // map the sdo pin where spix is substituted with spi1, spi2 or spi3 accordingly , and pin is the target gpio pin compatible with tha t particular pin function. chip select for use with spi can be any other unused gpio pin, configured as a digital output. the lowering and raising of the selected cs (gpio) pin is done manually by the user is the 4dgl application. example connection diagram this illustrates spi being configured on gpio pa 4 , pa6 and pa7, with user gpio pa 5 being used for the cs, and connections are to an external spi flash chip. note: this example is an illustration of spi connection to the DIABLO16 processor. it is not the complete circuit nor illustrates best practice. please refer to the separate document titled ' DIABLO16 - 4dgl - internal - functions.pdf ' for more information on how to use the spi functions.
4d systems DIABLO16 processor ? 2013 4d systems page 16 of 32 www.4dsystems.com.au DIABLO16 processor i 2 c 5.10. there are 3 user configurable i 2 c channels available for mapping to gpio, for use by the user for the target application. all 3 i 2 c channels are master only, and cannot be configured to be slaves at this time. please refer to the table on the previous page for details on which gpio can be configured for i 2 c. to map an i 2 c channel to a set of gpio pins, the following 4dgl function is used: i2cx_open(speed, sclpin, sdapin); where i2cx is substituted with i2c1, i2c2 or i2c3 accordingly , speed is the desired i2c bus speed, and sclpi n and sdapin are the target gpio pins compatible with that particular pin function. example c onnection d iagram this i llustrat es i 2 c being configured on gpio pa8 and pa9, and connections are to an external i 2 c analog input adc. note: this example is an illustration of i 2 c connection to the DIABLO16 processor. it is not the complete circuit nor illustrates best practice. please refer to the separate document titled ' DIABLO16 - 4dgl - internal - functions.pdf ' for more information on how to use the i 2 c functions. pulse out 5.11. pulse out is used to create a single pulse of set duration on the selected pin of choice , which is inverted in polarity to the current state of the pin . this inversion of polarity means if a pin is currently held hi, and pulse out is executed on that pin, the pin will pulse lo and then return to hi. same with vice versa, if currently lo and pulse out is executed on that pin, it will pulse hi and then return to lo. this is available in both blocking and non - blocking versions . please refer to the table on the previous page for details on which gpio can be configured to this. note: each pulse out request needs at least a 1ms lead time due to the scheduling of the event with the internal 1ms timer. to enable the pulse out function on a gpio pin, the following 4dgl functions are used: pin_pulseout(pin, value); //non - blocking pin_pulseoutb(pin, value); //blocking where pin is the target gpio pin compatible with that particular pin function, and v alue is the length of the pulse in milliseconds. example connection diagram this illustrates pulse out being configured on gpio pa0, and is used to open an external relay via a transistor, for an application such as opening a door lock for a set duration. note: this example is an illustration of a pulseout connection from the DIABLO16 processor. it is not the complete circuit nor illustrates best practice. please refer to the separate document titled ' DIABLO16 - 4dgl - internal - functions.pdf ' for more information on how to use the pulse out functions.
4d systems DIABLO16 processor ? 2013 4d systems page 17 of 32 www.4dsystems.com.au DIABLO16 processor p wm out 5.12. there are 6 pwm channels available to be configured by the user, with 4 time bases available for selection. the pwm can be configured to be used i n servo mode, or simple mode. please re fer to the table on the previous page for details on which gpio can be configured for pwm. servo mode allows a millisecond input value with 0.01ms resolution, which runs at a frequency of approximately 50 h z or 50pps (20ms). the position of the servo is determined by the width of the pulse. generally 1.5ms is 90 degrees, 1ms being 0 degrees and 2ms being 180 degrees. servos however vary, and the DIABLO16 pwm control can be adjusted to suit most applications. simple mode allows a percentage input value with resolution of 0.1%, which runs at a frequency of approximately 70hz. to enable the pwm output on a gpio pin, the following 4dgl function is used: pwm_init(pin, mode, value ); where pin is the gpio compatible with the particular pin function, mode is the type of pwm to generate, and value is the parameter which defined the pwm pulse itself. example connection diagram this illustrates pwm out being configured on gpio pa4, and is used to open an e xternal relay via a transistor, for an application such as dimming a lamp. note: this example is an illustration of a pwm connection from the DIABLO16 processor. it is not the complete circuit nor illustrates best practice. please refer to the separate document titled ' DIABLO16 - 4dgl - internal - functions.pdf ' for more information on how to use the pwm functions. pin counter 5.13. there are 6 pin counter channels available to be configured by the user, used to count incoming pulses with the ability to call a user function on overflow. the pin counter function is available for use in a variety of modes. the counter s can be read and written at any time. please refer to the table in section 5.8 alternate pin functions C overview for details on which gp io can be configured for this. to enable the pin counter function on a gpio pin, the following 4dgl function is used: pin_counter(pin, mode, ovffunction); where pin is the gpio pin compatible with this particular function, mode is the type of trigge r used to count on such as rising/falling/edge, and ovffunction is the user function to call when the counter overflows, if desired. example connection diagram this illustrates pin counter being configured on gpio pa8, and is used to count pulses coming from a rotation sensor for example. note: this example is an illustration of a pwm connection from the DIABLO16 processor. it is not the complete circuit nor illustrates best practice. please refer to the separate document titled ' DIABLO16 - 4dgl - internal - functions.pdf ' for more information on how to use the pin counter functions.
4d systems DIABLO16 processor ? 2013 4d systems page 18 of 32 www.4dsystems.com.au DIABLO16 processor quadrature in 5.14. there are two quadrature input channel s available on the DIABLO16 processor, which requires 2 gpio pins each . please refer to the table on the previous page for details on which gpio can be configured for quadrature input. quadrature input allows a quadrature encoder to be connected , and the position counter and delta counter can be read at any time. to enable the quadrature input function on a set of gpio pins (2 pins required), the following 4dgl function is used: qencoder x (phapin, phbpin, mode); where qencoderx is substituted for quenc oder1 or quencoder2 accordingly, phapin is the pin connected to the a phase of the encoder, phbpin is the pin connected to the b phase of the encoder, and mode is not currently used so is to be set to zero ( 0 ) . example connection diagram this illustrates quadrature input being configured on gpio pa2 and pa3, and is used to read pulses from a quadrature encoder. note: this example is an illustration of a quadrature input connection to the DIABLO16 processor. it is not the complete circuit nor illustrates best practice. please refer to the separate document titled ' DIABLO16 - 4dgl - internal - functions.pdf ' for more information on how to use the quadrature input functions. analog inputs 5.15. please refer to the table in section 5.6 for details on which gpio can be configured to be a nalog i nputs. the analog i nputs on the DIABLO16 have a range of 0 to 3.3v, each with a max resolution of 12 - bits . the analog inputs can be read using three modes, standard mode , averaged mode or high speed mode. standard mode results in a sample being immediately read. standard mode can read over 40000 values per second. operates at 12 - bit. averaged mode results in a 16 sample being immediately read and their average returned. averaged mode can read approximately 20000 values per second. operates at 12 - bit. highspeed mode collects a user specified number of samples at a user specified rate/frequency and can execute a user function when complete. the updated value updates approximately 250000 times across 1 - 4 channels. operates at 10 - bit. note: the various analog modes can interfere with the operation of the touch screen if their functions are called too frequently. i t is recommended to limit the calls of the analog functions to a maximum of once every millisecond. please refer to the internal functions documentation fo r further information on this topic. to enable a gpio to be used as an analog input for standard or averaged modes , the following 4dgl function is used to set the pin: pin_set(mode, pin); where mode is the desired mode defined above, either standard or averaged, and pin is the gpio compatible with this function which is to become an analog input. for highspeed mode, the following 4dgl function is used to set the pin and define the parameters: ana_hs(rate, samples, 1buf, 2buf, 3buf, 4buf, func); where rate is the number of samples per second, samples is the number of samples to collect per channel, 1buf ? 4buf are the buffer addresses for the 4 channels, and func is the user function
4d systems DIABLO16 processor ? 2013 4d systems page 19 of 32 www.4dsystems.com.au DIABLO16 processor to call when the number of samples specified have been collected. example connection diagram this illustrates an analog input being configured on gpio pa1, and is used to read an analog temperature from a temperature sensor . note: this example is an illustration of an analog input connection to the DIABLO16 processor. it is not the complete circuit nor illustrates best practice. please refer to the separate document titled ' DIABLO16 - 4dgl - internal - functions.pdf ' for more information on the analog input functions. 6. DIABLO16 architecture the figure b elow illustrates the DIABLO16 processors architecture . DIABLO16 is a high level graphics processor which runs the high level 4dgl (4d graphics language). it is not a conventional microcontroller with conventional microcontroller architecture, it is a custom graphics processor and therefore low level access to the chip is not required nor available to the user. 4dgl provides high level functions for the user and does all the low le vel work in the background in a highly optimised fashion.
4d systems DIABLO16 processor ? 2013 4d systems page 20 of 32 www.4dsystems.com.au DIABLO16 processor flash storage and ram allocation 6.1. the figure below illustrates how the flash and ram are allocated in the system, and what is available for use by the system and by the user. each area is explained in the sections following. loading of the pmmc, display driver and user applications int o their various places on the DIABLO16 processor, is achieved using the workshop4 ide. if a script for batch loading of the pmmc, display driver and/or user applications without the use of the workshop4 is required, there is a script utility available. please refer to the application notes section of the 4d systems website for information on this process. pmmc loader + internal functions 6.2. pmmc (personality module micro - code) - this is the operating system, incorporating the eve runtime (extensible virtual engine) which has an extensive byte - code instruction set programmed via the workshop 4 software ide . the pmmc loader can be thought of like a bootloader, and allows the transfer of a pmmc from the users pc into the system flash storag e on the DIABLO16 processor. w ithin the pmmc are over 450 built in functions for graphics, sound, math functions etc, no need to include libraries, or wait for hefty com pile times C its all built in. the pmmc is in protected memory, and cannot be read or damaged by inadvertent writes to illegal flash areas. the pmmc may be upgraded at any time without disturbing any programs that may already exist in the 6 flash banks. display driver 6.3. the diablo 16 is capable of interfacing with many different type s of display devices. the DIABLO16 has been designed more the maximum flexibility possible and therefore the display driver is modular, and replaceable , and separate from the pmmc . the display driver may be upgraded at any time without disturbing any applications or data which may exist in the 6 flash banks, or the pmmc. user flash memory banks 6.4. the DIABLO16 processor has 6 banks (bank0 to bank5) of flash memory which can be utilised by the user to stor e application code or data, to be used by the display or stored for sending to an external device over comms. each of the 6 banks is 32750 bytes in size, which provides over 12x the flash capacity of the picaso processor. when a users application is written to the flash of the DIABLO16 from the workshop4 ide software, the user is able to choose the destination bank for the application to be stored in. bank0 is always the bank which is loaded on start - up of the DIABLO16. the bank0 application can then transfer control over to one of the other banks, and the application stored in there will then run. this is achieved using the 4dgl flash_run() function. applications can freely change banks as required using this function , however a separate application (or data) is required to reside in each bank, a single application cannot take up more than 1 bank itself. when an application from another bank is run using the flash_run() function, the processor is restarted and the execution from the other bank is star ted. an application in one bank can store data in another bank using 4dgl commands such as:
4d systems DIABLO16 processor ? 2013 4d systems page 21 of 32 www.4dsystems.com.au DIABLO16 processor flash_copy() flash_writeblock() an application in one bank can store applications from microsd card and writing them to a bank for future execution using the 4dgl function flash_loadfile() an application in one bank can read data stored in another bank, such as graphics or strings stored there , and retrieve them and display them as required. reading of data from another bank is achieved using 4dgl functions such as: flash_ getbyte() flash_getword() flash_putstr() flash_blit2() flash_blit4() flash_blit8() flash_blit16() an application in a bank can erase other banks if required, and can also erase itself which essentially formats the processor. erasing of a bank is achieved in 4dgl using the flash_erasebank() function. note: the flash_erasebank() function should be used with caution as it will permanently erase any applications and/or data stored on that bank. please refer to the separate document titled ' DIABLO16 - 4dgl - internal - functions.pdf ' for more information on how to read/ write /erase/access and chan ge between flash banks. ram (both system and user) 6.5. the DIABLO16 processor has two banks of ram, one is 32kb of user ram, and the other is a much smaller bank of system ram which is only usable by the system, for its internal processes. the system ram is reserved for the system and is not accessible by the user. it is used for processes such as audio buffer, intermediate file buffers, graphics rendering, etc. this ram ensures the users ram is not taken by the system. no matter what options are enabled by the system, or by the user to influence the system (such as the size of the audio buffer), the system will never run out of ram and try to encroach into the users ram space. the DIABLO16s 32768 (32kb) of user ram is used to store variables and for user applications, sub programs etc. sub programs and functions stored in ram can be released when no longer required, freeing the memory for the user. the user has full access to this 32kb of user ram, and all internal processes of the DIABLO16 utilise only t he separate system ram.
4d systems DIABLO16 processor ? 2013 4d systems page 22 of 32 www.4dsystems.com.au DIABLO16 processor 7. 4dgl - software language the DIABLO16 processor belongs to a family of processors powered by a highly optimised soft core virtual engine, eve (extensible virtual engine). eve is a proprietary, high performance virtual - machine w ith an extensive byte - code instruction set optimised to execute compiled 4dgl programs. 4dgl (4d graphics language) was specifically developed from ground up for the eve engine core. it is a high level language which is easy to learn and simple to understa nd yet powerful enough to tackle many embedded graphics applications. 4dgl is a graphics oriented language allowing rapid application development, and the syntax structure was designed using elements of popular languages such as c, basic, pascal and other s. programmers familiar with these languages will feel right at home with 4dgl. it includes many familiar instructions such as if..else..endif, while..wend, repeat..until, gosub..endsub, goto, print as well as some specialised instructions serin, serout, gfx_line, gfx_circle and many more. for detailed information pertaining to the 4dgl language, please refer to the following documents: 4dgl - programmers - reference - manual.pdf DIABLO16 - 4dgl - internal - functions.pdf to assist with the development of 4dgl applications, the workshop 4 ide combines a full - featured editor, a compiler, a linker and a down loader into a single pc - based application. it's all you need to code, test and run your applications. 8. in circuit serial programming icsp the DIABLO16 processor is a custom graphics processor . all functionality including the high level commands are built into the chip. this chip level configuration is available as a pmmc (personality - module - micro - code) file , which can be likened to traditional firmware . there is also a display driver file, which separates specific display settings from the pmmc, unlike on the picaso processor where everything is combined . a pmmc file contains all of the low level micro - code information (analogy of that of a soft silicon) which define the characteristics and functionality of the device. the ability of programm ing the device with a pmmc file provides an extremely flexible method of customising as well as upgrading it with future enhancements. the display driver contains the initialisation and parameters associated with the particular display that is to be connected to the DIABLO16 processor. the pmmc file and display driver file can only be programmed into the device via the com0 serial port and an access to this must be provided for on the target application board. this is referred to as in circuit serial programming (icsp). the pmmc file and display driver file are programmed into the device with the aid of workshop 4, the 4d systems ide software (see section 1 2 ) . to provide a link between the pc and the icsp interface , a specific 4d programming cable or adaptor is required and is available from 4d systems. using a non - 4d programming interface could damage your processor , and void your warranty. note: the DIABLO16 processor is shipped blank and it must be programmed with both the pmmc configuration and display driver files .
4d systems DIABLO16 processor ? 201 3 4d systems page 23 of 32 www.4dsystems.com.au DIABLO16 processor 9. system registers memory map the following tables outline in detail the DIABLO16 system registers and flags. DIABLO16 system registers and flags l abel a ddress u sage dec hex random_lo 32 0x20 random number generator lo word random_hi 33 0x21 random number generator hi word system_timer_lo 34 0x22 1msec 32 bit free running timer lo word system_timer_hi 35 0x23 1msec 32 bit free running timer hi word timer0 36 0x24 1msec user timer 0 timer1 37 0x25 1msec user timer 1 timer2 38 0x26 1msec user timer 2 timer3 39 0x27 1msec user timer 3 timer4 40 0x28 1msec user timer 4 timer5 41 0x29 1msec user timer 5 timer6 42 0x2a 1msec user timer 6 timer7 43 0x2b 1msec user timer 7 sys_x_max 44 0x2c display hardware x res - 1 sys_y_max 45 0x2d display hardware y res - 1 gfx_xmax 46 0x2e current display width - 1 determined by portrait / landscape swapping gfx_ymax 47 0x2f current display height - 1 determined by portrait / landscape swapping gfx_left 48 0x30 virtual left point for most recent object gfx_top 49 0x31 virtual top point for most recent object gfx_right 50 0x32 virtual right point for most recent object gfx_bottom 51 0x33 virtual bottom point for most recent object gfx_x1 52 0x34 clipped left point for current object gfx_y1 53 0x35 clipped top point for current object gfx_x2 54 0x36 clipped right point for current object gfx_y2 55 0x37 clipped bottom point for current object gfx_x_org 56 0x38 current x origin gfx_y_org 57 0x39 current y origin gfx_thumb_percent 75 0x4b size of slider thumb as percentage gfx_thumb_border_dark 76 0x4c darker shadow of thumb gfx_thumb_border_light 77 0x4d lighter shadow of thumb touch_xmincal 78 0x4e touch calibration value touch_ymincal 79 0x4f touch calibration value touch_xmaxcal 80 0x50 touch calibration value touch_ymaxcal 81 0x51 touch calibration value img_width 82 0x52 width of currently loaded image img_height 83 0x53 height of currently loaded image img_frame_delay 84 0x54 if image, else inter frame delay for movie img_flags 85 0x55 bit 4 determines colour mode, other bits reserved img_frame_count 86 0x56 count of frames in a movie img_pixel_count_lo 87 0x57 count of pixels in the current frame img_pixel_count_hi 88 0x58 count of pixels in the current frame img_current_frame 89 0x59 last frame shown media_address_lo 90 0x5a micro - sd byte address lo media_address_hi 91 0x5b micro - sd byte address hi media_sector_lo 92 0x5c micro - sd sector address lo note: these registers are accessible with peekw and pokew functions.
4d systems DIABLO16 processor ? 2013 4d systems page 24 of 32 www.4dsystems.com.au DIABLO16 processor DIABLO16 system registers and flags (continued) label address usage dec hex media_sector_hi 93 0x5d micro - sd sector address hi media_sector_count 94 0x5e micro - sd number of bytes remaining in sector text_xpos 95 0x5f text current x pixel position text_ypos 96 0x60 text current y pixel position text_margin 97 0x61 text left pixel pos for carriage return txt_font_ id 98 0x62 font type, 0 = system font, else pointer to user font txt_font_max 99 0x63 max number of chars in font txt_font_offset 100 0x64 starting offset (normally 0x20) txt_font_width 101 0x65 current font width txt_font_height 102 0x66 current font height gfx_touch_region_x1 103 0x67 touch capture region gfx_touch_region_y 104 0x68 gfx_touch_region_x2 105 0x69 gfx_touch_region_y2 106 0x6a gfx_clip_left_val 107 0x6b left clipping point (set with gfx_clipwindow(...) gfx_clip_top_val 108 0x6c top clipping point (set with gfx_clipwindow(...) gfx_clip_right_val 109 0x6d right clipping point (set with gfx_clipwindow(...) gfx_clip_bottom_val 110 0x6e bottom clipping point (set with gfx_clipwindow(...) gfx_clip_left 111 0x6f current clip value (reads full size if clipping turned off) gfx_clip_top 112 0x70 current clip value (reads full size if clipping turned off) gfx_clip_right 113 0x71 current clip value (reads full size if clipping turned off) gfx_clip_bottom 114 0x72 current clip value (reads full size if clipping turned off) gram_pixel_count_lo 115 0x73 lo word of count of pixels in the set gram area gram_pixel_count_hi 116 0x74 hi word of count of p ixels in the set gram area touch_raw_x 117 0x75 12 bit raw a2d x value from touch screen touch_raw_y 118 0x76 12 bit raw a2d y value from touch screen gfx_last_char_width 119 0x77 calculated char width from last call to charwidth function gfx_last_char_height 120 0x78 calculated height from last call to charheight function gfx_last_str_width 121 0x79 calculated width from last call to strwidth function gfx_last_str_height 122 0x7a calculated height from last call to strheight function pin_counter_pa4 123 0x7b pin counter for pa4 pin_counter_pa5 124 0x7c pin counter for pa5 pin_counter_pa6 125 0x7d pin counter for pa6 pin_counter_pa7 126 0x7e pin counter for pa7 pin_counter_pa8 127 0x7f pin counter for pa8 pin_counter_pa9 128 0x80 pin counter for pa9 pin_event_pa4 129 0x81 pin counter rollover event for pa4 pin_event_pa5 130 0x82 pin counter rollover event for pa5 pin_event_pa6 131 0x83 pin counter rollover event for pa6 pin_event_pa7 132 0x84 pin counter rollover event for pa7 pin_event_pa8 133 0x85 pin counter rollover event for pa8 pin_event_pa9 134 0x86 pin counter rollover event for pa9 qen1_counter_lo 135 0x87 quadrature encoder #1 counter lo qen1_counter_hi 136 0x88 quadrature encoder #1 counter hi qen1_delta 137 0x89 quadrature encoder #1 delta count qen2_counter_lo 138 0x8a quadrature encoder #2 counter lo qen2_counter_hi 139 0x8b quadrature encoder #2 counter hi qen2_delta 140 0x8c quadrature encoder #2 delta count false_reason 141 0x8d explanation 'false' results, currently only for flash_ functions note: these registers are accessible with peekw and pokew functions.
4d systems DIABLO16 processor ? 201 3 4d systems page 25 of 32 www.4dsystems.com.au DIABLO16 processor 10. memory cards - fat16 format the DIABLO16 processor uses off the shelf standard sdhc/sd/micro - sd memory cards with up to 2gb capacity usable with fat16 formatting. for any fat file related operations, before the memory card can be used it must first be formatted with fat16 option. the formatting of the card can be done on any pc system with a card reader. select the appropriate drive and choose the fat16 (or just fat in some systems) option when formatting. the card is now ready to be used in the DIABLO16 based application. the DIABLO16 processor also sup ports high capacity hc memory cards (4gb and above). the available capacity of sd - hc cards varies according to the way the card is partitioned and the commands used to access it. the fat partition is always first (if it exists) and can be up to the maxim um size permitted by fat16. windows 7 will format fat16 up to 4gb. windows xp will format fat16 up to 2gb and the windows xp command prompt will format fat16 up to 4gb. 11. hardware tools the following hardware tools are required for full control of the DIABLO16 processor . 4d programming cable & adaptor 11.1. the 4d programming cable and uusb - pa5 programming adaptors are essential hardware tool s to program, customise and test the DIABLO16 processor . either the 4d programming cable or the uusb - pa5 programming adaptor can be used. the 4d programming interfaces are used to program a new firmware/ pmmc , display driver and for downloading compiled 4dgl code into the processor . they even serve as an interface for communicating serial data to the pc . t he 4d programming cable and uusb - pa5 programming adaptor are available from 4d systems , www.4dsystems.com.au using a non - 4d programming interface could damage your processor , and void your warranty. 4d programming cable uusb - pa5 programming adaptor
4d systems DIABLO16 processor ? 2013 4d systems page 26 of 32 www.4dsystems.com.au DIABLO16 processor evaluation display modules 11.2. the following modules, available from 4d systems, can be used for evaluation purposes to discover what the DIABLO16 processor has to offer. ulcd - 32 dt C 3.2 intelligent DIABLO16 display other modules, such as the 2.8 version are also available. please contact 4d systems for more information, or visit the 4d systems website, www.4dsystems.com.au 12. 4d systems - workshop 4 ide works hop 4 is a comprehensive software ide that provides an integrated software develop ment platform for all of the 4d family of processors and modules. the ide combines the edi tor, compiler, linker and downl oader to develop complete 4dgl ap plication code. all user applicati on code is developed within the workshop 4 ide. the workshop 4 ide supports multiple development environments for the user, to cater for different user requirements and skill level. ? the designer environment enables the user to write 4dgl code in its natural form to program the 4d processor of choice. ? a visual programming experience , suitably called visi , enables drag - and - drop type placement of objects to assist with 4dgl code generation and allows the user to visualise how the display will look while being developed . ? an advanced environment called visi - genie doesnt require any 4dgl coding at all , it is all done automatically for you. simply lay the display out with the objects you want , set the events to drive them and the code is written for you automatically. visi - genie provides the latest rapid development experience from 4d systems. the workshop 4 ide is available from the 4d systems website. www.4dsystems.com.au for a comprehensive manual on the workshop 4 ide software along with other documents , refer to the documentation from the 4d systems website , on the workshop 4 product page .
4d systems DIABLO16 processor ? 2013 4d systems page 27 of 32 www.4dsystems.com.au DIABLO16 processor workshop 4 C designer environment 12.1. choose the designer environment to write 4dgl code in its raw form . the designer environment provides the user with a simple yet effective programming environment where pure 4dgl code ca n be written, compiled and downloaded to the DIABLO16 . workshop 4 C visi environment 12.2. visi was designed to make the creation of graphical displays a more visual experience. visi is a great software tool that allows the user to see the instant results of their desired graphical layout. additionally, there is a selection of inbuilt dials, gauges and meters that can simply be placed onto the simulated module display. from here e ach object can have its properties edited, and at the click of a button all relevant 4dgl code associated with that object is produced in the user program. the user can then write 4dgl code around these objects to utilise them in the way they choose. workshop 4 C visi genie environment 12.3. visi genie is a breakthrough in the way 4d systems graphic display modules are programmed. it is an environment like no other, a code - less programming environment that provides the user with a rapid visual experience , enabling a simple gui application to be written from scratch in literally seconds. visi genie does all the background coding, no 4dgl to learn, it does it all for you. pick and choose the relevant objects to place on the display, much like the visi environment, yet without having to write a single line of code. each object has parameters which can be set, and configurable events to animate and drive other objects or communicate with external devices. simply place an object on the screen, position an d size it to suit, set the parameters such as colour, range, text, and finally select the event you wish the object to be associated with, it is that simple. in seconds you can transform a blank display into a fully animated gui with moving sliders, anima ted press and release buttons, and much more. all without writing a single line of code! visi genie provides the user with a feature rich rapid development environment, second to none.
4d systems DIABLO16 processor ? 201 3 4d systems page 28 of 32 www.4dsystems.com.au DIABLO16 processor 13. reference design
4d systems DIABLO16 processor ? 2013 4d systems page 29 of 32 www.4dsystems.com.au DIABLO16 processor 14. package details
4d systems DIABLO16 processor ? 2013 4d systems page 30 of 32 www.4dsystems.com.au DIABLO16 processor 15. pcb land pattern
4d systems DIABLO16 processor ? 2013 4d systems page 31 of 32 www.4dsystems.com.au DIABLO16 processor 16. specifications and ratings absolute maximum ratings operating ambient temperature ............................................................................................... . . .. 40 c to + 85 c storage temperature ................................................................................................................ . ....... 65 c + 150 c voltage on vcc with respect to gnd ......................................................................... ........................ 0.3v to 4.0v maximum current out of gnd pin ......... ................... .......................................................................... .. ...... 3 2 0ma maximum current into vcc pin ............................................................................................................ . ...... 32 0ma maximum current sunk/sourced by any pin ............... ............ .................... .............................. ................. 10 .0ma maximum current sunk /sourced by all ports .................... ........... .............. .......................... .................... 20 0.0ma total power dissipation ............................................................... ................................... .............. 1.0w + i/o load note : stresses above those listed here may cause permanent damage to the device. this is a stress rating only and functional operation of the device at those or any other conditions above those indicated in the recommended operation listings of this specification is not implied. exposure to maximum rating conditions for extended periods may affect device reliability. recommended operating conditions parameter conditions min typ max units supply voltage (vcc) 3 .0 3.3 3.6 v operating temperature - 40 -- + 80 c external crystal (xtal) -- 12.00 -- mhz input low voltage (vil) vcc = 3.3v, all pins vgnd -- 0.2vcc v input high voltage (vih) vcc = 3.3v, non 5v tolerant pins 0.8vcc -- vcc v input high voltage (vih) all gpio pins, rx0 and tx0 pins 0.8vcc -- 5.5 v global characteristics based on operating conditions parameter conditions min typ max units supply current (icc) vcc = 3.3v -- 70 -- ma internal operating frequency xtal = 12.00mhz -- 70 .00 -- mhz output low voltage (vol) vcc = 3.3v, iol < = 10 ma -- -- 0.4 v output high voltage (voh) vcc = 3.3v, iol > = - 10 .0ma 2.4 -- -- v a/d converter resolution pa0 - pa3, xr, yu pins -- -- 12 bits capacitive loading clk1, clk2 pins -- -- 15 pf capacitive loading all other pins -- -- 50 pf flash memory endurance programming -- 1000 0 -- e/w ordering information order code: DIABLO16 package: tqfp 64, 10mm x 10mm packaging: trays of 160 pieces
4d systems DIABLO16 processor ? 2013 4d systems page 32 of 32 www.4dsystems.com.au DIABLO16 processor 17. legal notice proprietary information the information contained in this document is the property of 4d systems pty. ltd. and may be the subject of patents pending or granted, and must not be copied or disclosed without prior written permission. 4d systems endeavours to ensure that the informa tion in this document is correct and fairly stated but does not accept liability for any error or omission. the development of 4d systems products and services is continuous and published information may not be up to date. it is important to check the curr ent position with 4d systems. 4d systems reserves the right to modify, update or makes changes to specifications or written material without prior notice at any time. all trademarks belong to their respective owners and are recognised and acknowledged. di sclaimer of warranties & limitation of liability 4d systems makes no warranty, either expressed or implied with respect to any product, and specifically disclaims all other warranties, including, without limitation, warranties for merchantability, non - infr ingement and fitness for any particular purpose. information contained in this publication regarding device applications and the like is provided only for your convenience and may be superseded by updates. it is your responsibility to ensure that your appl ication meets with your specifications. in no event shall 4d systems be liable to the buyer or to any third party for any indirect, incidental, special, consequential, punitive or exemplary damages (including without limitation lost profits, lost savings, or loss of business opportunity) arising out of or relating to any product or service provided or to be provided by 4d systems, or the use or inability to use the same, even if 4d systems has been advised of the possibility of such damages. 4d systems prod ucts are not fault tolerant nor designed, manufactured or intended for use or resale as on line control equipment in hazardous environments requiring fail C safe performance, such as in the operation of nuclear facilities, aircraft navigation or communicat ion systems, air traffic control, direct life support machines or weapons systems in which the failure of the product could lead directly to death, personal injury or severe physical or environmental damage (high risk activities). 4d systems and its suppliers specifically disclaim any expressed or implied warranty of fitness for high risk activities. use of 4d systems products and devices in 'high risk activities' and in any other application is entirely at the buyers risk, and the buyer agrees to d efend, indemnify and hold harmless 4d systems from any and all damages, claims, suits, or expenses resulting from such use. no licenses are conveyed, implicitly or otherwise, under any 4d systems intellectual property rights. 18. contact information for te chnical support: support@4dsystems.com.au for sales support: sales@4dsystems.com.au website: www.4dsystems.com.au copyright 4d systems pty. ltd. 2000 - 201 3 .
mouser electronics authorized distributor click to view pricing, inventory, delivery & lifecycle information: 4d systems: ? diablo-16


▲Up To Search▲   

 
Price & Availability of DIABLO16

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X